"""
Python程序设计语言第4周：循环
示例1：for循环
"""

for char in "Hello, world":
    print(char, end=" ")

print()

for num in range(10):
    print(num, end=' ')

print()

for num in [5, 4, 3, 2, 1]:
    print(num, end=' ')

print()

for num in (1, 3, 5, 7, 9):
    print(num, end=' ')